/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.webos.java.jabber.chat;

import java.util.Date;

/**
 *
 * @author Kostya
 */
public class ChatMessage {
    String connection = "";
    String from = "";
    String to = "";
    String message = "";
    boolean incoming = true;
    boolean system = false;
    boolean archive = false;
    Date date = new Date();

    public void setFrom(String from) {
        this.from = from;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setIncoming(boolean incoming) {
        this.incoming = incoming;
    }

    public void setConnection(String connection) {
        this.connection = connection;
    }

    public void setSystem(boolean system) {
        this.system = system;
    }
    
}
